<?php
require_once("Tpl/header.html");
?>
        <div id="main">
            <div class="header">
                <h1>Source</h1>
            </div>
            <div class="content">
                <h2 class="center">{$detail}</h2>
                <div class="table-responsive">
                    <table class="pure-table pure-table-horizontal">
                        <thead>
                            <tr>
                                <th>#</th>
                                <th>SourceID</th>
                                <th>Course Name</th>
                                <th>Uploader</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr></tr>
                        </tbody>
                    </table>
                    <table class="center">
                        <thead>
                            <tr>
                                <td>
                                <form id="upload" method='post' action="/index.php/problem/answer" enctype="multipart/form-data">
                                    <input name="pid" type="hidden" value="<?php echo $pid ?>">
                                    <input name="uid" type="hidden" value="<?php echo $UserId ?>">
                                    <input name="homework" type="file" />
                                    <button type="submit" class="pure-button pure-button-primary">Upload</button>
                                </form>
                                </td>
                            </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
